

import { WarehousePosition } from "./warehouse-position-input";
import { Filter } from './filter';
import { Search } from './search';  


// ... existing 库位分页input ...

export interface WarehousePositionPageInput {
      /**
     * @type {Search}
     * @memberof WechatUserInput
     */
      search?: Search;
   /**
     * 状态码
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    /**
     * 状态码
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    code?: number;

    /**
     * 类型success、warning、error
     *
     * @type {string}
     * @memberof WarehousePositionPageInput
     */
    type?: string | null;

    /**
     * 错误信息
     *
     * @type {string}
     * @memberof WarehousePositionPageInput
     */
    message?: string | null;

    /**
     * 当前页码，从 1 开始
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    pageNumber: number;

    /**
     * 每页显示的记录数量
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    pageSize: number;
     /**
     * 当前页码，从 1 开始
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
     page: number;

    /**
     * 总条数
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    total?: number;

    /**
     * 总页数
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    totalPages?: number;

    /**
     * 当前页集合
     *
     * @type {Array<WarehousePosition>}
     * @memberof WarehousePosition
     */
    items?: Array<WarehousePosition> | null;

    /**
     * 仓库名称，用于模糊查询
     *
     * @type {string}
     * @memberof WarehousePositionPageInput
     */
    name?: string;

    /**
     * 启用状态，0 表示启用，1 表示未启用
     *
     * @type {number}
     * @memberof WarehousePositionPageInput
     */
    isEnable?: number;

    /**
     * 附加数据
     *
     * @type {any}
     * @memberof WarehousePositionPageInput
     */
    extras?: any | null;


   /**
    * 模糊查询关键字
    *
    * @type {string}
    * @memberof WechatUserInput
    */
   keyword?: string | null;

   /**
    * @type {Filter}
    * @memberof WechatUserInput
    */
   filter?: Filter;

  

   /**
    * 排序字段
    *
    * @type {string}
    * @memberof WechatUserInput
    */
   field?: string | null;

   /**
    * 排序方向
    *
    * @type {string}
    * @memberof WechatUserInput
    */
   order?: string | null;

   /**
    * 降序排序
    *
    * @type {string}
    * @memberof WechatUserInput
    */
   descStr?: string | null;
}

// ... existing code ...

// 定义与 WarehousePositionPageInput 字段相同的新类型
interface WarehousePostionPageInput {
  page: number;
  pageSize: number;
  searchTerm?: string;
  sortBy?: string;
  isAscending?: boolean;
}
